ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    justify-content: space-around;
}

ul li {
    line-height: 40px;
    text-align: center;
}